package byx.container.annotation.extension.core;

import java.lang.reflect.Type;

public class ParameterInfo {
    private final Class<?> parameterType;
    private final Type geneticParameterType;
    private final AnnotationMetadata annotationMetadata;

    public ParameterInfo(Class<?> parameterType, Type geneticParameterType, AnnotationMetadata annotationMetadata) {
        this.parameterType = parameterType;
        this.geneticParameterType = geneticParameterType;
        this.annotationMetadata = annotationMetadata;
    }

    public Class<?> getParameterType() {
        return parameterType;
    }

    public Type getGeneticParameterType() {
        return geneticParameterType;
    }

    public AnnotationMetadata getAnnotationMetadata() {
        return annotationMetadata;
    }
}
